package cn.wolfcode.luowowo.article.util;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class ScenicUtil {

    public static void hasLength(Object data,String msg){
        if("".equals(data) || data == null){
            throw new RuntimeException(msg);
        }
    }

}
